#include <iostream>
using namespace std;
class Area{
public:
	static double calArea(const Circle& c){
		return 3.1415926 * c.getRadius() * c.getRadius();
	}
	static double calArea(const Rectangle& r){
		return r.getWidth() * r.getHeight();
	}
};